import 'package:flutter/material.dart';
import 'package:xindong/models/user/xindong_other_user.dart';
import 'package:xindong/widgets/common/xindong_button.dart';

/// 聊天充值提示
class XinDongLiaoTianRechargeElem extends StatelessWidget {
  final XinDongOtherUser? userClass;
  const XinDongLiaoTianRechargeElem({Key? key, required this.userClass}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      margin: const EdgeInsets.only(left: 52, right: 52, bottom: 10),
      padding: const EdgeInsets.all(10),
      decoration: BoxDecoration(borderRadius: BorderRadius.circular(8), color: Colors.white),
      child: Column(
        children: [
          // Text(
          //   "免费消息已用完，聊天需花费${userClass.chatPrice??0.toStringAsFixed(0)}钻石/条。不要错过缘分，充值再继续前缘。",
          //   style: TextStyle(color: DZColors.placeholderColor, fontSize: 14),
          // ),
          // SizedBox(height: 8),
          // Container(
          //   width: double.infinity,
          //   child: XinDongCommonButton(
          //     "立即充值",
          //     onTap: () => XinDongRechargeDialog.show(),
          //   ),
          // ),
        ],
      ),
    );
  }
}
